using System;

namespace Jandaya.Framework.Application
{
	public class DatabaseInfo
	{
		public string ConnectionName{ get; set; }
		
		/// <summary>
		/// Name or IP of the server
		/// </summary>
		public string HostName{ get; set; }
		
		/// <summary>
		/// Full qualified database name
		/// </summary>
		public string Database{ get; set; }
		
		public string FullDatabasePath{
			get { return string.Format("{0}:{1}", HostName, Database);}
		}
		
		/// <summary>
		/// User name for database connection
		/// </summary>
		public string UserName{ get; set; }
				/// <summary>
		/// Password for database connection
		/// </summary>
		public string Password{ get; set; }
			
				
	}
}

